const UtilsTool = {
    isObject(obj) {
        return typeof obj !== null && typeof obj === "object";
    },
    extend(sourceObj, props) {
        if (!this.isObject(sourceObj) || !this.isObject(props)) {
            return false;
        }
        for (var pty in props) {
            sourceObj[pty] = props[pty];
        }
    },
}
module.exports = UtilsTool;